BUG_STATUS_OPENED = "opened"
BUG_STATUS_CLOSED = "closed"

BUG_DEFAULT_ASSIGNED_TO = ""
BUG_DEFAULT_CREATOR     = ""
BUG_DEFAULT_DESCRIPTION = "No description"
BUG_DEFAULT_OWNER       = ""
BUG_DEFAULT_TITLE       = "No title"

# Some common messages
MSG_ActionIsAmbiguous     = "Ambiguous action '%s'. Valid actions are:"
MSG_ActionIsNotValid      = "Invalid action '%s'. Valid actions are:"
MSG_ActionMissingBugID    = "Action '%s' needs a bug id parameter"
MSG_ActionUnexpectedParam = "Action '%s' received an unexpected paramenter: %s"

MSG_BugAdded             = "Bug added: (#%s) %s"
MSG_BugAlreadyClosed     = "(#%s) is already closed!"
MSG_BugAlreadyOpened     = "(#%s) is already opened!"
MSG_BugClosed            = "Bug closed: (#%s) %s"
MSG_BugNoValidStatus     = "No valid status for bug!"
MSG_BugOpened            = "Bug (#%s) has been opened."
MSG_BugPrefixAmbiguous   = "Ambiguous bug prefix '%s' refers to %d bugs. Find them using: hg bugs %s" 
MSG_BugPrefixOrIDInvalid = "Bug ID or prefix '%s' does not exist"
MSG_BugReopened          = "Bug reopened: (#%s)"
MSG_BugTitleNotSpecified = "A title must be specified!"
MSG_BugUpdated           = "Bug (#%s) updated."

MSG_BugTrackIsAlreadyInitialized   = "Bug tracking is already initialized!"
MSG_BugTrackIsNotInitialized       = "Bug tracking metadata is not initialized. See 'hg help bugs'."
MSG_BugTrackMetadataInitialized    = "Bug metadata has been initialized."
MSG_BugTrackMetadataVersionInvalid = "Bug tracking metadata version is not valid. Why did you mess up with version numbers by hand?"
MSG_BugTrackMetadataVersionOld     = "Bug tracking metadata is old. Use 'hg bugs --upgrade' to upgrade your metadata."
MSG_BugTrackStatistics             = "Bug count: %d opened, %d closed (%d total)"